package com.ljh.mall.mybatis.mapper;

import com.ljh.mall.mybatis.model.PmsProduct;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PmsProductDao {
    int deleteByPrimaryKey(Long id);

    int insert(PmsProduct record);

    int insertSelective(PmsProduct record);

    PmsProduct selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PmsProduct record);

    int updateByPrimaryKey(PmsProduct record);


    List<PmsProduct> showProducts();
}